/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const resourceRouter = [{
  path: '/resource',
  component: Layout,
  redirect: 'resource',
  name: 'Resource',
  meta: {
    title: 'resource.management',
    icon: 'clipboard'
  },
  children: [
    {
      path: 'list',
      component: () => import('@/views/resource/index'),
      name: 'ResourceList',
      meta: { title: 'resource.list', icon: 'list' }
    }
  ]
}]

export default resourceRouter
